//
//  ZYJBaseViewController.h
//  TravelingByCar
//
//  Created by Wendale on 15-3-6.
//  Copyright (c) 2015年 ZYJ. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ICBaseViewController :  UIViewController{
    BOOL _isViewWillAppear;
    BOOL _isViewAppeared;
}
@property (nonatomic, assign) BOOL isViewWillAppear;
@property (nonatomic, assign) BOOL isViewAppeared;
@property (nonatomic, assign) BOOL enableBackButton;
@property (nonatomic, strong) MBProgressHUD *HUD;
@property (nonatomic, assign) BOOL isShowEmptyView;
@property (nonatomic, assign) BOOL isShowNoNewworkView;

- (void)showHUD;
- (void)showHUDWithMessage:(NSString *)message;
- (void)back:(id)sender;
- (CGRect)rootViewFrame;
- (void)initLeftMessageItem;
- (void)initRightSearchItem;
- (void)initRightSettingItem;
- (void)showEmptyViewWithMessage:(NSString *)message;
- (void)hideEmptyView;
- (void)showNoNetWorkView;
- (void)hideNoNetWorkView;
- (void)onClickNoNetWorkView;
- (void)showToast:(NSString *)message;
- (void)unReadNumCountUpdate;

- (BOOL)checkUserIdetifier;
- (void)showIdetifierAlert;

- (BOOL)isIPhone4;
- (BOOL)isIPhone5;
- (BOOL)isIPhone6;
- (BOOL)isIPhone6p;
- (void)showEmptyImageView:(NSString *)imageName message:(NSString *)message;
@end
